SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5899db258a510cc2cf3868899d7216680aacc7f3ee745768d55ab897bbc1da28' 
  AND token = '7zCJdSUSSfeuSqllVk8trZpAk6ja26inNVwizcGRFF4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00060

JSON explain

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