SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3d5544a565045dcced1cdb154ef414055b1f667d261b043b9d1bf378f8ff7679' 
  AND token = 'rKzOInBff5KeAX8cxahkhrTsdW8ScDKZBFdoLOIwJR8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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