SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7e3d778b61f58e9d059d9fd135c7bd040a8608bd70fde33617ddd934c5688160' 
  AND token = 'EbsTxhcO107kF3pEXThSYv1cz0/PC6ujqX3YIJletPY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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