SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ca4b5c09520be34edf12c7402c4940af55d4ffdf77696fc48b21dd70a3b04a7c' 
  AND token = '6KN/mhgNbGEqc55dAcpLH8lRh236Dk+bOx9fZn2uwWA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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