SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40f09f190816121da61a7c85e400f7be139b4f8cee74e42f8aa884f4743d15fe' 
  AND token = 'yrhXJ36pW/6O1k5oFNiMHBD3wDhrnepTvAQSnu+5Mao=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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