SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa50a7d41d77075f905d469b8bf9849b54c2f0a34d2b341e1eadd8e978f69e74' 
  AND token = 'Bo6WIf8xhaJl9Wr0gdzSvXHaKYPAHF4XE4Dxlklb7B8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00157

JSON explain

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