SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f684fe2bf582274c53626c321d91176534fc46b55bbab635dbe417ce706a1ed8' 
  AND token = 'A8jcEVACvIXi/w99f1t/4jiXzS4Qs2HUO7wAfMGfS7k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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