SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd76fad4411e9f92b8f378faf611664857c88132f483dd9e7452a554b52314308' 
  AND token = 'XXd/8tiYdm6/J8K4tBvi5ApEdv21KZ48WCADC2YBRSs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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