SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'fcdefe480141538bfbff5920a3bd1bc8130e2330dcb576d7cbf9799208e5c2ec' 
  AND token = '47hnpWo0y/hJT1j184WJ7Iywxmho0C3N98IwivWxEg8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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