SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c011af679d00f0b9f027c763427e8b71cb0ba5a5826eabffcbd5f4be399cc17a' 
  AND token = 'DcD2gU5iFH6w+QpKZFmRQZdUgLU4RL3RGr0ifhaEb4M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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