SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e99d3714ca0e434b0f5140c059cc7f78a676bda6f6b0c66af0ab1b916ebad293' 
  AND token = 'JswCWhAWrtTq5gnlMN5Ox3x8Tf6c2M0jGIAZ0Sbtl/U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00055

JSON explain

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