SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '32535342b17436f114cf5d046228c1b748916c434bfb631721fe63bee4c81c53' 
  AND token = 'idcP5XVytK5iWA7WHhUPhOHHTei/isqzG7SUOlyJYeI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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