SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f051934029d3db33679e108ac40cd0c647bf559e4705114d9468da9938ac8c97' 
  AND token = 'GsxbvS9/HsokLYGIGks3wnEBhJfRV7inTDRH9WsunwQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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