SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c393f651bdb46f01f028dc1adeecbd575e6a0f9e6df523e27efd282a04279ccc' 
  AND token = '6l2s+ZaVAV/Q3KvGiAdDLf/lW5YAEi1WThLyOPic/t4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}