SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b3ee6d9c20f53c57fd820868622b8756d68c6eb2fb21abbce3103c595ff54309' 
  AND token = 'Z56O9X2KcFysKDDomJdZRsyGnT4WQvjVyZ2Bc8wI5Gs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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