SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ebd7cde271ef8621ff0a0b9070a3985a4c25160169662284a6c8ba967bf9fb8' 
  AND token = 'KTq3n8OJ4N/Nfxy7ZfHZU/Zlj4/lT0S7vZyf0oszDtw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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