SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9c40c01e4848f7bcff00d5ccfe0bf8ccdb23157da1954c0432864f1005c0de67' 
  AND token = 'b969C1SFpQcmk3HgnVht9LPEw9i/PkQ95ivoOkDJYIQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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