SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9bdd93085db8e88ddd8ab0227aff25cffa336bd86e033bfa625455619eabfab1' 
  AND token = 'oTPadb1U/bs4agddoS2mUsx6NUrqQpe8IpbiWPS3PK0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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