SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e774d8784ff1dd69f733ccff6c8c36bd7b0920ac64c7cf9bd88a0872ac829441' 
  AND token = 'Sc5eL1FPUTryD6kgL2lZfcMJjsZjn+o2T+9VgeS++oQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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