SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '051de9b277ec74ccd36443347f01d1566675536507b36760ab7dd94da4332acc' 
  AND token = 'MFFmLiMcBRPlJObPM9y9pMAJWA88ZLwPSKudVAXmA7Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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