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

Query time 0.00050

JSON explain

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