SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0f1fe152156f46288a67a8e13c598cc6dbb234fd50f62d9a28f6db9154b054a5' 
  AND token = 'lPK9TlkMhTziXFODFbF0BnMYFxuRHO6OIe809nB6vXs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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