SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bedf07ba6d030e0b01aab63f60b0164a23ddc47e477999d1767a01e000d3dbf6' 
  AND token = 'LwoS62CC97FXCmKdI54Kr4/7otXohHHxBZfdkHNB5jQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}