SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '29ee0f62918b9889e83248bebf18d043b4d16ca30fce76d17c631df4b0db8b37' 
  AND token = '8hJ3v1P6ImEfuCpK8JaBg3wBexlrPoD0JeIVkqKab3g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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